package cn.fws.meap.user.enums;

/**
 * 消费类型
 */
public enum ConsumptionEnums {
    INCOME("0","收入"),EXPENDITURE("1","支出");

    private final String code;
    private final String name;

    ConsumptionEnums(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "ConsumptionEnums{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
